package com.sskj.hhrt.transaction.data;

import java.util.List;

public class OrderBean {


    /**
     * pageNum : 1
     * pageSize : 0
     * size : 0
     * startRow : 0
     * endRow : 0
     * total : 0
     * pages : 1
     * list : []
     * prePage : 0
     * nextPage : 0
     * isFirstPage : true
     * isLastPage : true
     * hasPreviousPage : false
     * hasNextPage : false
     * navigatePages : 8
     * navigatepageNums : [1]
     * navigateFirstPage : 1
     * navigateLastPage : 1
     * firstPage : 1
     * lastPage : 1
     */

    private int pageNum;
    private int pageSize;
    private int size;
    private int startRow;
    private int endRow;
    private int total;
    private int pages;
    private int prePage;
    private int nextPage;
    private boolean isFirstPage;
    private boolean isLastPage;
    private boolean hasPreviousPage;
    private boolean hasNextPage;
    private int navigatePages;
    private int navigateFirstPage;
    private int navigateLastPage;
    private int firstPage;
    private int lastPage;
    private List<Order> list;
    private List<Integer> navigatepageNums;


    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getStartRow() {
        return startRow;
    }

    public void setStartRow(int startRow) {
        this.startRow = startRow;
    }

    public int getEndRow() {
        return endRow;
    }

    public void setEndRow(int endRow) {
        this.endRow = endRow;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPrePage() {
        return prePage;
    }

    public void setPrePage(int prePage) {
        this.prePage = prePage;
    }

    public int getNextPage() {
        return nextPage;
    }

    public void setNextPage(int nextPage) {
        this.nextPage = nextPage;
    }

    public boolean isIsFirstPage() {
        return isFirstPage;
    }

    public void setIsFirstPage(boolean isFirstPage) {
        this.isFirstPage = isFirstPage;
    }

    public boolean isIsLastPage() {
        return isLastPage;
    }

    public void setIsLastPage(boolean isLastPage) {
        this.isLastPage = isLastPage;
    }

    public boolean isHasPreviousPage() {
        return hasPreviousPage;
    }

    public void setHasPreviousPage(boolean hasPreviousPage) {
        this.hasPreviousPage = hasPreviousPage;
    }

    public boolean isHasNextPage() {
        return hasNextPage;
    }

    public void setHasNextPage(boolean hasNextPage) {
        this.hasNextPage = hasNextPage;
    }

    public int getNavigatePages() {
        return navigatePages;
    }

    public void setNavigatePages(int navigatePages) {
        this.navigatePages = navigatePages;
    }

    public int getNavigateFirstPage() {
        return navigateFirstPage;
    }

    public void setNavigateFirstPage(int navigateFirstPage) {
        this.navigateFirstPage = navigateFirstPage;
    }

    public int getNavigateLastPage() {
        return navigateLastPage;
    }

    public void setNavigateLastPage(int navigateLastPage) {
        this.navigateLastPage = navigateLastPage;
    }

    public int getFirstPage() {
        return firstPage;
    }

    public void setFirstPage(int firstPage) {
        this.firstPage = firstPage;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public List<Order> getList() {
        return list;
    }

    public void setList(List<Order> list) {
        this.list = list;
    }

    public List<Integer> getNavigatepageNums() {
        return navigatepageNums;
    }

    public void setNavigatepageNums(List<Integer> navigatepageNums) {
        this.navigatepageNums = navigatepageNums;
    }

    public static class Order {

        private int stockUserId;

        private int id;

        /**
         * 购买者姓名
         */
        private String username;

        /***
         * 股票代码
         */
        private String stockCode;
        /**
         * 股票名字
         */
        private String stockName;

        /**
         * 订单类型 0:买，tradingType;
         * /**
         * 0:市价 1：限价
         */
        private Integer billType;
        /**
         * 做空单，做多单状态 做空单:-1 ,做多单:1
         */
        private Integer buyBillType;
        /**
         * 委手
         */
        private Integer entrustCount;
        /**
         * 成交价
         */
        private String price;
        /**
         * 手续费
         */
        private String fee;
        /**
         * 美元手续费
         */
        private String usdFee;
        /**
         * 买入本金，及保证金
         */
        private String buyPrincipal;
        /**
         * 委托单号
         */
        private String entrustNum;
        /**
         * 委托时间
         */
        private String entrustTime;
        /**
         * 创建时间
         */
        private String createTime;
        /**
         * 标志位 0:正常 -1:删除
         */
        private Integer status;
        /**
         * 止损价
         */
        private String stopLossPrice;
        /**
         * 止盈价
         */
        private String stopProfitPrice;


        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public Integer getBillType() {
            return billType;
        }

        public void setBillType(Integer billType) {
            this.billType = billType;
        }

        public Integer getBuyBillType() {
            return buyBillType;
        }

        public void setBuyBillType(Integer buyBillType) {
            this.buyBillType = buyBillType;
        }

        public Integer getEntrustCount() {
            return entrustCount;
        }

        public void setEntrustCount(Integer entrustCount) {
            this.entrustCount = entrustCount;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getFee() {
            return fee;
        }

        public void setFee(String fee) {
            this.fee = fee;
        }

        public String getUsdFee() {
            return usdFee;
        }

        public void setUsdFee(String usdFee) {
            this.usdFee = usdFee;
        }

        public String getBuyPrincipal() {
            return buyPrincipal;
        }

        public void setBuyPrincipal(String buyPrincipal) {
            this.buyPrincipal = buyPrincipal;
        }

        public String getEntrustNum() {
            return entrustNum;
        }

        public void setEntrustNum(String entrustNum) {
            this.entrustNum = entrustNum;
        }

        public String getEntrustTime() {
            return entrustTime;
        }

        public void setEntrustTime(String entrustTime) {
            this.entrustTime = entrustTime;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getStopLossPrice() {
            return stopLossPrice;
        }

        public void setStopLossPrice(String stopLossPrice) {
            this.stopLossPrice = stopLossPrice;
        }

        public String getStopProfitPrice() {
            return stopProfitPrice;
        }

        public void setStopProfitPrice(String stopProfitPrice) {
            this.stopProfitPrice = stopProfitPrice;
        }

        public String getStockCode() {
            return stockCode;
        }

        public void setStockCode(String stockCode) {
            this.stockCode = stockCode;
        }

        public String getStockName() {
            return stockName;
        }

        public void setStockName(String stockName) {
            this.stockName = stockName;
        }

        public int getStockUserId() {
            return stockUserId;
        }

        public void setStockUserId(int stockUserId) {
            this.stockUserId = stockUserId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }
}
